﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CXMLStudioIDE.Common.Entities
{
    public class EntityTypeVersions
    {
        #region Declarations
        private int _EntityTypeVersionsID;
        private int _Released;
        private bool _HasCode;
        private int _EntityTypeID;
        private int _EntityID;
        private int _EntityVersionID;

        #endregion

        #region Constructors
        public EntityTypeVersions(int inEntityTypeVersionsID,int inEntityVersionID,
            int inReleased, bool inHasCode,
            int inEntityTypeID, int inEntityID)
        {
            this._EntityID = inEntityID;
            this._EntityTypeID = inEntityTypeID;
            this._EntityTypeVersionsID = inEntityTypeVersionsID;
            this._HasCode = inHasCode;
            this._Released = inReleased;
            this._EntityVersionID = inEntityVersionID;
        }
        public EntityTypeVersions()
        { 
        }
        #endregion

        #region Public Properties
        public int EntityVersionID
        {
            get { return _EntityVersionID; }
            set { _EntityVersionID = value; }
        }
        public int EntityTypeVersionsID
        {
            get { return _EntityTypeVersionsID; }
            set { _EntityTypeVersionsID = value; }
        }
        public int Released
        {
            get { return _Released; }
            set { _Released = value; }
        }

        public bool HasCode
        {
            get { return _HasCode; }
            set { _HasCode = value; }
        }

        public int EntityTypeID
        {
            get { return _EntityTypeID; }
            set { _EntityTypeID = value; }
        }

        public int EntityID
        {
            get { return _EntityID; }
            set { _EntityID = value; }
        }
        #endregion
    }
}
